<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:directive.page language="java"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" />
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>选择用户列表</title>
		<%@ include file="/commons/includes/head.jspf"%>
		<%@ include file="/commons/manage/content.jspf"%>
		<%@ include file="/commons/extremecomponents/extremetable.jspf"%>
		<script type="text/javascript" src="selectUser.js"></script>
	</head>
	<body>
		<form name="selectUser" action="selectUser.shtml" method="post">
			<input type="hidden" id="event" name="event" />
			<div class="contBtnDiv">
				<span class="contBtn contBtnBack" id="btnCancel">取 消</span>
				<span class="contBtn contBtnSave" id="btnSave">确 定</span>
				<span class="contBtn contBtnSearch" id="btnQuery">查 询</span>
			</div>
			<div class="showSearchDiv">
				<div class="downBtn"></div>
			</div>
			<div class="searchDiv">
				<table style="width: 100%;">
					<tr>
						<td align="center" width="10%">
							用户ID：
						</td>
						<td style="width: 23%;">
							<input type="text" class="text" name="ec_f_username"
								style="width: 75px;" value="" />
						</td>
						<td align="center" width="9%">
							用户名：
						</td>
						<td style="width: 23%;">
							<input type="text" class="text" name="ec_f_name"
								style="width: 75px;" value="" />
						</td>
						<td align="center" width="12%">
							用户类型：
						</td>
						<td style="width: 23%;">
							<select id="ec_f_type" name="ec_f_type">
								<option></option>
								<c:forEach var="key" items="${userTypeReferList}">
									<option value="${key}">
										<c:out value="${userTypeRefer[key]}" />
									</option>
								</c:forEach>
							</select>
						</td>
					</tr>
				</table>
			</div>
			<div id="ecUserList">
				<ec:table items="userList" var="user" form="userList"
					action="userList.shtml">
					<ec:row>
						<ec:column property="id" width="15%" sortable="false"
							title="选择[<span onclick='javascript: selectAll(\"selectedIds\");' style='cursor:hand;'>全选</span>]">
							<input type="radio" name="selectedIds" title="${user.name}"
								value="${user.username}" />
						</ec:column>
						<ec:column property="title" title="用户名" alias="USERNAME_">
							<c:out value="${user.username}" />
						</ec:column>
						<ec:column property="name" title="名称" alias="NAME_" width="60px">
							<c:out value="${user.name}" />
						</ec:column>
						<ec:column property="type" title="用户类型" alias="TYPE_" width="30%">
							<c:out value="${userTypeRefer[user.type]}" />
						</ec:column>
					</ec:row>
				</ec:table>
			</div>
		</form>
	</body>
</html>